package com.kaifamiao.entity;

import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * @author lucien-ma
 * @date 2021/8/11
 * @apiNote
 */
@Data
public class User implements Serializable {

    private int id;

    private String name;

    private String password;

    // 一个用户可以有多个角色
    private List<Role> roles;
}
